<!DOCTYPE html>
<html>
<body>

<h1>JavaScript 对象</h1>

<p>Object.values() 将对象转换为数组。</p>

<p id="demo"></p>

<script>
const person = {
  name: "Bill",
  age: 19,
  city: "Seattle"
};

document.getElementById("demo").innerHTML = Object.values(person);
</script>

</body>
</html>
